//
//  BTAccout.h
//  WeChat
//
//  Created by 互联网 on 16/10/28.
//  Copyright © 2016年 bigtree. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BTAccout : NSObject
@property (nonatomic, copy) NSString *loginUser;
@property (nonatomic, copy) NSString *loginPsw;
/**
 *  判断用户是否登录
 */
@property (nonatomic,assign,getter=isLogin) BOOL login;

@property (nonatomic, copy) NSString *registerUser;
@property (nonatomic, copy) NSString *registerPsw;
// 单例方法
+(instancetype)shareAccount;

/**
 *  保存到沙盒
 */
-(void)saveToSandBox;

@property (nonatomic, copy, readonly)NSString *domain;
@property (nonatomic, copy, readonly)NSString *host;
@property (nonatomic, assign, readonly)int port;
@end
